package com.shop.dto;

import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ProductDTO implements Serializable {

    private Long id;
    //商品名称
    private String name;
    //商品分类id
    private Long categoryId;
    //商品价格
    private BigDecimal price;
    //成本价格
    private Long cost_price;
    //0 停售 1 起售
    private Integer status;
    //商品剩余数量
    private Long stock;
    //开始和结束时间
    private LocalDateTime startAt;
    private LocalDateTime endAt;
}
